请求
curl --location 'https://openapi.gs-robot.com/v1alpha1/robots/TEST00-0000-000-S070/statusReports?timeSpan.startTime.seconds=1723718641&timeSpan.endTime.seconds=1726224241&utcOffset.seconds=3600'
--header 'Authorization: Bearer {token}'
输出
{
"reports": [
{
"date": "2024-08-15",
"onlineDuration": 50400,
"offlineDuration": 0
},
{
"date": "2024-08-16",
"onlineDuration": 43867,
"offlineDuration": 0
},
{
"date": "2024-08-19",
"onlineDuration": 86362,
"offlineDuration": 0
},
{
"date": "2024-08-20",
"onlineDuration": 55180,
"offlineDuration": 2160
},
]
}